//
//  MVActionSheet.h
//  Gunz
//
//  Created by Joggy on 16/1/25.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Files.h"

@interface MVActionSheet : UIView

#define MVASbgHeight 192*proportion
#define MVASbuttonWidth 236*proportion
#define MVASbuttonHeight 38*proportion
#define MVASinsert (MVASbgHeight - 3*MVASbuttonHeight)/4
#define MVASasCornerRadius 4

@property(nonatomic, retain) UIButton *registerByPhoneButton;
@property(nonatomic, retain) UIButton *registerByEmailButton;
@property(nonatomic, retain) UIButton *cancelButton;
@property(nonatomic, retain) UIView *bgView;
@property(nonatomic, retain) UIView *shadowView;
@property(nonatomic, retain) UIWindow *kWindow;

-(instancetype)initWithFrame:(CGRect)frame;
-(void)prepareForLayout;
-(void)show;
-(void)dismiss;

@end
